changed to wrap mode instead of nowrap