modify snippet path.