minor fix for mac