migrate global variables. related issue #10