Fixed variable name in hashCode function