Fixed bug in roles