remove 2.7 deprecation warning by looking up fact