added NoSuchElementException handling by returning empty string