Fixed rather stupid typo in form generation