cleanup lot before uploading