Add correct path into tree.