fixed BufferedOutput