fix bug backup database