fixed the validation form