fixed problem fetching heap snapshots