Correction for Yosemite detection crash