alert bug fixed