fixed bug in crawler