fixed offline mode usage
Merge branch 'FredyC-fix-offline-mode'