mac build fix (maybe)