Fix a small bug about key-constriants
Merge pull request #1 from feiranwang/patch-1

Fix a small bug about key-constriants