fixed error "GREP_OPTIONS is deprecated"