Frame size error fixup