made MacroDetailEditor work