fix neighbors