grep partially working