Fixed Codebook formatting