got rid of last link in links