fix the snippet path