change width to max-width