attempt to fix upload errors