fixed restart error