updated form validation again