form errors fix