modified the roles.js  and the setting