match counts fix