added a fix for global node