hack to catch non-unique set elements at compile time