last trick didn't seem to work, calling register before each upload