set auto width