fix logic for pin name compare