this is an aysnchronous processing issue…
you are trying to start 3 processes at the same time…
but sometimes Spreadsheet1 will be received first, sometimes Spreadsheet2 and sometimes Spreadsheet3…
only start your further processing if all 3 processes have been downloaded successfully