fix ctr.bits calculation when missing