fix hash table trailing semicolon bug