fix links and titles