fixing end of link tag