Fixed WriterOut write overflow