fix hash order dependency bug