fix output term