Revert "grep fix"

This reverts commit 96445d13cbb248e6c1a51c8316cf9b9f6e678be3.
gre fix