fixed a bug where role names where truncated to contain only one
underscore, but multiple underscore parts should be allowed.