fix hash access