modify a Macro in dispatcher event handler