fix dependencies.
arena save/restore.