Fix well problem in spi-interface