fix file sending