overall fix of rgrep command