Fixed issue when no roles defined