fixed allocation of node pointers in lookup