avoid warning messages when switching between online and offline edition