Fix hash code