Fixing CODEBOOK issues

CODEBOOK did not display properly.