fix typo in formvalidator