Fix hashcode