make tabs work for chx
more changes for spi chx