switched width to max-width