remove duplicate selectors and declaration