minor typos in docstring