fixing CodeBook final version3