fixed some pin assignments