fix grep pattern.