fix http link and image link collision bug