adjusted the widths to be automatic