upgrade: converter: no longer deal with global variables