Fixing hashcode impl