fix hash format