fix role style only for non-empty roles