verify key is correct