Fix bug scop of path