remove dead code in stylesheet