Fix the pins controller