resolved undefined seg fault with fprintf due to max_peer_buffer size being 4096