fix typos in BAGG format in sphinx doc