alert bug fix