fixes in the CodeBook