Fixed bug on inheritedRole