add closed tag