changed depth limit
fixed referer in batch job