[FIX] fixed datatables if arrays are empty