fixed issue with spi send