Fix pin assignments