fixed typo and initial state of trigger network errors flag