form displays correctly now