Fixed leak in crawler and added some limits that were badly written