change the width to autosize