small changes for new spi2ad component