fix some image and link URLs