fix sending files