tutorial form validations fixed