edit grep in remove