modify the bug of itemsLength