fix the history plugin bug