fix listing behavior abnormal when we limit recursive depth