Correct the name of path & remove unnecessary part