fixed GREP_OPTIONS issue