quick fix to pins controller