fixed the issue of the default date range not being set to the current day