fix hash problem