fix use of global