fixed hls discontinuity