store lastResetCause and lastResetContext inside context
prevent recursive lastContext + don't overwrite previous previous cause