fix the Lexer probelm
add config END and BEGIN