fixed for 2, 3 channels