detect wrong pin