Fixed a bug in getKeys function