handle case where http/s is in the link. fixed when sleep happens