fixed both errors after sphinx build
Merge pull request #7511 from aboe76/fix_docs

fixed both errors after sphinx build