fix mac os x