Fix history view