fix(archive): minor fixes for upload.