fix brocken form validation