bugfix evaluate hashing function