handling macros with empty or NULL values in _evalMacros()