remove sparsehash and other cruft