modify for mac