bugfix for unloading css files