Fix codebook table