fixed readEncryptedKeyPad