reset error before sanity check to turn off led