Revert "duplicate keys"

This reverts commit 49870c2d2cccb7869330784496540da4d27cf720.