fix getInTree and call to assocInTree