correcting hashing errors