Fixing erf datatable