Fixed bug in alert popup