bug fix for form validation