fix the eq output to be consistent with the mud