fix for cnkb problem #26