Fix history on plan