clean up mode 6
include offset in workWidth line