fix bug where p p were parsed as same token