fix mac types