fix backup bug