remove invalid properties from CSS file