fixed typo in form generation