Fixed bugs by making css selectors more precise