fix hash variable