cleanup macros definitions