changing widths to auto