add global marco replacement