fixed crash in hls module