trying to fix hash access error for node