fix db backup bug