Fixed history export