Fixed heap checker bug