should die when duplicate key detected.