fix the model for hashtable