added a fix for the locked pairs (still not working) and removed the alert.