change path to path_index