fixed formhelper bug