fixed minor bug in edit user profile