date range fix