fix little bug with equals()/hashCode() generated impl