add crash reporting