fix hashcode issue