remove ttable lookup function from search.go