KAZ-25: Fix pin generation error