fixing date range pop up brake.