fixing docstrings to resolve sphinx parsing errors