remove a little grammar from the scanner