fixed date range issue