fix backup remove function