fix he8:d < length