fixing SPI