fixed memroy address errors for neighborhoods