fix table search problems
Before demo
add like function advised by TA