fixed handling of closed bullet points