corrected the message-construction for network-communication
made some minor bug-fixes