fixed grep flag