fixing hashing function again...