change index path to local