fixed ridiculous stream bug in RoleAPI