fix for docstring being added as a part of the last parameter