removed unused path_join function