set grep to auto