minor fix to generated form