remove a bit of cruft