fixed compiliation issues due to SPI changes