Working well on given data,but not on external links