type6 fix for codeStrLength less than 116