modify path on index