fixed a bug in getNgbrs()