fix trigger macro replacement - because of asprintf