fix date range demo