Fix bug in restart_confirm