fixed restart crash