fix a bug in eqV2 and eqV3