remove duplicate script of processOldAlerts