fixed crash in hls