fix grep issue