htime range fix