format correction to codebook