fix hw_spi