fixed error in HashMap.key returning too small keys