tested and fixed the whole name hashtable