fixed manual pin assigning