global ref for static var