path change to index