fixed CodeBook again