solve lexing problem