test fixCast and fixCnt