fix hashcodes