and rm duplicate paths