fix upload spec