fix internal role issue