replace a direct string with a macro