refactor(archive): remove redundant code