init on each upload to avoid confusion