cleanup, SPI debugging