Repro of 'length' field issue