send file bug fix