don't crash if no view has been created when changing network providers