form generator fix