fixed link and caption errors