improve getArchivedData