try and fix sending of data