nodes index bug fixed