Form is not displaying correctly