fix problem with `size` on output when using seeking