fixed nested list creation