some corrections for modgcd() (univariate case)