fixed bugs in crawler example