not use singleton on mac