fix sortable tables