centered alerts and changed an alert message