fixes false links on the head part of the template