fix links and tags