fixed heapfile