fixed a small problem with the file transfer