little fix to the codebook