Cleanup missing global reference