adding missing attrs on link tag