fix uploadArchives section