docs: fix typo in code in readme

fixes #856