switch to autosize