fix id of table model