remove leftover cruft