Clean up lexer