Fixing partial upload