fix lexing topdef and topvar