fixed typos, bug in getKeys, added set() as alias for put()