correct writing in db - archiv is closed