Remove redundant path.