bug fix - empty neighbordb