prefer closest over parent

closest will search up the tree