fixed error docstring