fixed docstring type