Fix pin config removal