fix grep so not to loose errors from git