remove unnecessary selectors