when making new unit, only delete other paths of units that made the new unit