fix grep problem on win7