fixed error on sending too large files