remove duplicate path additions