tablesort error fixed