add some settings to make things work on mac