NPE fix for offline mode