fixed error on Global.java