bugfix: `restore` stopped working