Fix broken upload