bug fix for form validation
fixing conflict