Fix printing received data (convert lenght from network)