bugfix with selector grouping