Fixed roles errors.