fix code send file