handle importMacro exception so that loadRemote can load macro remotely