another fix of the usync dangling global reference