Fixed bug in alert notifications