Fix sql neigh.. and route change the table view