cleaning up some heap data