fixing links and pictures