Fix headers in codebook