added support for OS X crashes