fixed debug/log output of sent data