Added nodeindex to debug