macros with bug