fixing images and links