Fixed bug preventing crash detection from working