cleaning codebook again