similar to the adjustment for tstart_writing made in optr.c rev 1.4. Should fix PR bin/19711 from matthew green.