fixing error with forms