typo and Mac OS detect