nested list problem fixed