do some changes, ready for scrapy