fixing some bugs in run crawl