         private var _prev_video_dts : Number;
         /* demux instance */
         private var _demux : Demuxer;
-        private var _audioTags : Vector.<Tag>;
-        private var _videoTags : Vector.<Tag>;
+        private var _audio_tags_found : Boolean;
+        private var _video_tags_found : Boolean;
+        private var _tags : Vector.<Tag>;
 
         /** Create the loader. **/
         public function FragmentLoader(hls : HLS) : void {

            if (_fragByteArray == null) {
                _fragByteArray = new ByteArray();
                _fragWritePosition = 0;
                _audioTags = new Vector.<Tag>();
                _videoTags = new Vector.<Tag>();
                _min_audio_pts = Number.POSITIVE_INFINITY;
                _max_audio_pts = Number.NEGATIVE_INFINITY;
                _min_video_pts = Number.POSITIVE_INFINITY;

                var start_offset : Number = _levels[_level].updateFragment(_seqnum, true, min_pts, max_pts);
                _hls.dispatchEvent(new HLSEvent(HLSEvent.PLAYLIST_DURATION_UPDATED, _levels[_level].duration));
                _fragment_loading = false;
                _callback(_tags, min_pts, max_pts, _hasDiscontinuity, start_offset);
                _pts_loading_in_progress = false;
                _hls.dispatchEvent(new HLSEvent(HLSEvent.FRAGMENT_LOADED, metrics));
                _fragment_first_loaded = true;
