ER: give a better error message for hashing indices