fix type typo in docstrings