next nested list fix