bugfix for the data send