fix crbits and crindex_bits None issue