change max widths to min