fix boolean for offline mode