rewrite documentation
fix typo