change min to max width