still trying to debug passing date range to backend