Pereira makes sense of SF officiating mess