clean up objects before open new archive