Fix a minor bug in info

-add: aKey entity when new key is registered
-bug: key id type should be int