fixed alert count
bug