fixed restart exception handling