fixed formvalidator buggy in revert