Fix get role type