misc: length is unsigned