err fix mac build