docs(sample): fix typos in sample

manually merged from PR #1342