fix: module std in qring over ring coeffs (tr.501)

from master