fixing broken images and links