Fix bug of path