Fixed typo in FormGenerator