bug fix in user image upload form