Correct the "double assignment" of offset by using the output prefix

Thanks @bernhard-thiele :-)