small fix in codebook