rewrite incorrect link url