fixed mac macros