fixed Roles generation