Fixing the alert box