fix upload order