minor codebook upload fix