prevent duplicates (closes #155)