fix a potential bug in setkey.
2 files changed