fix typo causing autorestart to not be applied