added handler for empty DTB_PACKAGE.
fixed the li handing for UL and OL.