refactor css selectors