Bugfix: Added missing initialization for global variable