maybe fixed the double backup bug