remove cut/paste cruft