fix upload glitch