fix local backup bug