validation and form coorections