fixed neighboring issue
fixed neighbor linking