Fixing the grep pattern