cleaning up crash detection.