history ID should now be computed correclty