fixed bug in textwrap