proper closing of lists when pre follows