working to fix bug on role settings