fix pins controller