fix warning macros