fixed closed tag issues