fixed expired alert removal.
fixed event mis-matching because of interval function call