fix bug: job table full or recursion limit exceeded