fix a typo; s/pub_if/priv_if/g