update for mac build error