user edit user type fix