fix backup media dir bug