Fixed _globalComplete 'not a function' issue