fixing links and formatting