fix alert history