Fixes addHeap