Fixed a problem outputting the alert