fixed goofed up grep (thanks Michael Brade)