bug fix for gazette matching