fixed form validation error