table search fix