[fix] fix in 'get_parent'
[add] path_t & functions