Remove redundant path