corrected berserk esc problem