adjust max width