use correct compound matching for role