fix hash parsing issue