convention fix in index hashing functions.