removes invalid css class