clean up formatting in heap