Fix behaviors of crash reporter.