Fix bug on roles