Fixed index problem when restart crawling