fixed the alerts