add missing macros