removing useless repeater macros