Sanitize macros