simple_spi :fixed bug