Fix bug in alert pincode