added missing .bak in removal check