Heap: Fix Errors