fix model bug in data-table