use grep fix from Charles