greps correctly