general css cleaning & legacy move