change some configs for mac