Fixed a bug that the key object instead of the key id was returned in /home