fix grep with a real config