Fixing the code for default role.