Added reset for on crash