fixed relative links and captions