2/1

Fixed the check for  adding a key.