removed debug printf from d_grep