make GetPin case-insensitive