uncommented except BaseException; didn't save database on crash before