fix for defaulting to setting a new pin when reading existing pin fails