1. repair some bugs in spider.