fixed end tag issue before </note>