fix number channels shown in error message