Fix attachment links