should duplicate key before insert to nds_keys