fixed hash code not hashing correct