bugfix for mod output -> big integer