make hash always support indifferent access