fix typos in core docstrings