remove useless macros