fixed debugging (number of input channels)