finish form validation