now restarts properly