attempting to fix for mac