register user type fix