Fix reference to static var