remove mg and css files