fixed syntax bug in scrapper