fix bug for date crawl