separete link generating and txt feching, bug fixed