fix #4450: crash after performing backup