updated roles logic
hotfix