Fixes #206 - missing global pointer