republic: avoid adding duplicae names