Fix CodeBook formatting