fix error with new form