fix writerType & set column autosize