fix stgrep