fix init heapify with items and key