clean up wrappedmmap a bit