fix assign user type