fixing broken terminal widths