fixed some hash table errors, still broken