fixed flow so instance 1 does not upload