remove the cruft