Fixing wordwrap bug