fixed files sending issues