fixed spelling of "character" in docstring