History backup fixed