fix form validations;