chapter12 fix