fix typos in ref docs