fixed wrong use of grep in previous commit