fix: fixed NoSuchElementException