fixed internal role problem