fix in pins controller