offline_mode_state_fix