fixing form creation