Bugfix for data sends