Fixed showing long string by fetching href rather than text