fixing date bug that was preventing requests.