optimize selectors