operating_mode reset bugfix