trim some selectors