fixed issue with overwriting old links

overwrote old links, fixing