Bug fix for ag() may return fail, then resulted in run unexpected _wcgrep()