fix neigh detect