Fixed history issues.