abort if duplicate keys