fix upload manager