fix generating an output style different than the input style docstring