fixed parser rules and emphasis button event