fix links and formatting