Fix redundant paths