datatables now working as expected