fix another search-crash bug, make arrows focus tables
fix crash