fix hydration error on crash