fixed weird BufferedOutputStream problem
.