fix param names in docstrings to match actual param names
fix typos, including a severe one