fix the view format and table thead