fixing a macro