Fixed small bug with roles

Fixed small bug with roles