fix macros file