hashing bugfix