use raw pointer for refs to heap in heap entry