fix for mac environment 2