Fix for the alert boxes