fixed bug where instance crash detection used to give wrong result