=fixing bug with multiple channels