fix color issue on OSX