fixed error when the sending file not existed