bug fix - uninitialized leaf node pointer