fix images and links