fix form validate