Fix network mangled output

fixes mangled network output