fixed pins controller error