fix issue of grep, find funtion on windows