extendWithSubRoles fix