removes cruft