bugfix: missing update of this.length
1.3.1