fixing bug with user form submit