Fixing grep call