fix in auth for mac