remove cruft and offensive stuff