Fixed bugs with showing error in datatable.