fix crash reporting