think this will fix the alert problem