fixing grep