What is making this form not load correctly?