fixed nested repeat nodes