fix eqName in WithStruct