fix a old reference to 'len'