fixed the alert