loadMacro fix