move init of the global g