file transfer fixes