fix unclosed list items