fixed nested list error