wrote a fix for ckw01 with test, made fix for ckw02 and ckw03 as well