avoid logging hashCode
because logging it caused stack overflow as the logger uses objects' hashCode