form validate important fix