Restart error fix