form errors fixed